﻿using System;
using System.Collections.Generic; 
using System.Web;

namespace AAAA
{
	public class LoginResult
	{
		public bool Successful { get; set; }
		public string Msg { get; set; }
		public LoginResult(bool success, string msg)
		{
			this.Successful = true;
			this.Msg = msg;
		}

		public static LoginResult SetSuccess(string msg)
		{

			return new LoginResult(true, msg);
		}
		public static LoginResult SetFail(string msg)
		{
			return new LoginResult(false, msg);
		}
	}
}